<!DOCTYPE html >
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="base :: header (title='工序查看')" />
<link th:href="@{plugins/common/css/basemessage.css}" rel="stylesheet" />
<link th:href="@{css/technology/process.css}" rel="stylesheet" />
<body class="">
	<div class="main-content blank_bg">
		<div>
			<div>
				<div class="row" style="margin: 10px;">
					<div class="">
						<div style="margin-bottom: 5px;">
							<div style="float:left">
								<span >选择员工：</span>
								<select id="procedureE" name="procedureE" data-width="auto" class="selectpicker" data-live-search="true">
								</select>
								<span >选择项目：</span>
								<select id="procedureP" name="procedureP" data-width="auto" class="selectpicker" data-live-search="true">
								</select>
								<span >时间：</span>
								<input autocomplete="off" type="text" id="fdate" name="fdate" class="form-control clean_C" style="width: 100px;" />
								<span >工作量：</span>
								<input autocomplete="off" type="text" id="eqty" name="eqty" class="form-control clean_C" style="width: 150px; margin-right: 10px;" />
							</div>
							<div style="float:left">
								<button id="submit" class="btn btn-default " type="button" style="margin-left: 10px;">提交</button>
								<button id="query" class="btn btn-default " type="button" style="margin-left: 10px;">查询</button>
<!--								<button id="resetting" class="btn btn-default " type="button">重置</button>-->
							</div>
							<div style="clear:both"></div>
						</div>

						<div id="table_refresh" th:fragment="table_refresh">
							<h3><span th:text="${dateinfo.year}" id="year"></span>年<span th:text="${dateinfo.month}" id="month"></span>月第<span th:text="${dateinfo.week}" id="week"></span>周项目工时</h3>
							<table class="table">
								<tr style="text-align: center">
									<td style="width:30%"></td>
									<td style="width:8%"><span th:text="${dateinfo.day0}" id="day0"></span><br>周一</td>
									<td style="width:9%"><span th:text="${dateinfo.day1}" id="day1"></span><br>周二</td>
									<td style="width:8%"><span th:text="${dateinfo.day2}" id="day2"></span><br>周三</td>
									<td style="width:8%"><span th:text="${dateinfo.day3}" id="day3"></span><br>周四</td>
									<td style="width:8%"><span th:text="${dateinfo.day4}" id="day4"></span><br>周五</td>
									<td style="width:8%"><span th:text="${dateinfo.day5}" id="day5"></span><br>周六</td>
									<td style="color: red;width: 9%"><span th:text="${dateinfo.day6}" id="day6"></span><br>周日</td>
									<td>小结</td>
								</tr>
							</table>
						</div>

						<!-- 工序列表 start -->
						<div style="margin-top: 5px;">
							<table id="processTable" class="table dataTable table-hover">
							</table>
						</div>
						<!-- 工序列表 end -->

					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="base :: bottom" />
	<div th:include="base :: bootstrapTable" />
	<script th:src="@{js/technology/processEP.js}"></script>
</body>
</html>
